package cn.teduymdj.jxc.util;

import java.util.UUID;

/**
 * 生成编号
 */
public class CreateNumUtil {
    public static final String PURCHASE = "JH";
    public static final String SALE = "XS";
    public static final String RETURN = "TH";
    public static final String CUSTOMER_RETURN = "XT";
    public static final String DAMAGE = "BS";
    public static final String OVER = "BY";

    /**
     * 进货入库单号
     * @return
     */
    public static String PurNum(){
        return PURCHASE+ System.currentTimeMillis();
    }
    public static String RetNum(){
        return RETURN+ System.currentTimeMillis();
    }
    public static String SalNum(){
        return SALE+ System.currentTimeMillis();
    }
    public static String CusReNum(){
        return CUSTOMER_RETURN+ System.currentTimeMillis();
    }
    public static String DamageNum(){
        return DAMAGE+ System.currentTimeMillis();
    }
    public static String OverNum(){
        return OVER+ System.currentTimeMillis();
    }

}
